import { Wx_Page, T_AD, T_USER } from './EntityBase';

export interface IAuthManager {
    TYLoginUrl: string;

    Init();
    Refresh();
}
export interface IMemberManager {
    LoginUser: T_USER;
    IsShowReceive: boolean;

    UserLoginUrl: string;

    Init();
}
export interface IAdManager {
    QueryAllADUrl: string;

    Init();
    GetRandomAd(): T_AD;
    GetAds(count): Array<T_AD>;
    AdClick(page: Wx_Page, e: any);
}
export interface IShareManager {
    GetShareInfoUrl: string;
    AddTRecommendUrl: string;

    Init();
    onShareAppMessage(options?: { from: string, target: any }): { title?: string, path?: string, imageUrl?: string };
}
export interface IModuleManager {
    AuthManager: IAuthManager;
    MemberManager: IMemberManager;
    AdManager: IAdManager;
    ShareManager: IShareManager;
    Init();
}
